package com.fortune.dto.in.paymentMethod;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

public class PaymentMethodEditDto {
    @NotBlank(message="付款方式ID不能为空")
    @ApiModelProperty(required=true, example="付款方式ID")
    private String id;
    @NotBlank(message="付款方式名称")
    @ApiModelProperty(required=true, example="付款方式名称")
    private String name;

    @Override
    public String toString() {
        return "SpecificationEditDto{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
